edit

How to edit 300 GB text file (genomics data)?

一个人想着一个人 提交于 2019-11-30 08:43:23
问题 I have a 300 GB text file that contains genomics data with over 250k records. There are some records with bad data and our genomics program 'Popoolution' allows us to comment out the "bad" records with an asterisk. Our problem is that we cannot find a text editor that will load the data so that we can comment out the bad records. Any suggestions? We have both Windows and Linux boxes. UPDATE: More information The program Popoolution (https://code.google.com/p/popoolation/) crashes when it

“Edit with IDLE” option missing from context menu

时光怂恿深爱的人放手 提交于 2019-11-30 07:11:34
问题 I have Python 2.7.5 that installed with ArcGIS 10.2.2. When I first right-clicked a .py script I'd previously written it listed the "Edit with IDLE" option in the context menu. However, this option no longer appears when I right-click a .py file. I have read numerous threads concerning this issue and attempted some of them, such as modifying/removing registry keys and then reinstalling/repairing the software. I am not interested in using an IDE at this point, though many will be happy to know

Adding a path to the .bashrc file?

岁酱吖の 提交于 2019-11-30 03:39:04
At the moment I am trying to add a path for ns-2 to my .bashrc file, I have installed the ns-allinone-2.34 but the command ns gives the result: command not found when entered into the shell. Here is what my .bashrc file currently looks like, I edited it using gedit: # .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific aliases and functions export PATH=/home/michael/ns-allinone-2.34/bin/ns:/home/michael/ns-allinone-2.34/bin/nam:$PATH Can someone please explain why this isn't working or what a possible solution may be? I am using fedora 17. Brian

Can I edit an iPad's host file?

左心房为你撑大大i 提交于 2019-11-29 20:48:00
I doubt this is possible without extensive jail-breaking, but is it at all possible to edit the iPad's (or any iOS device's) hosts file? No. Apps can only modify files within the documents directory, within their own sandbox. This is for security, and ease of installing/uninstalling. So you could only do this on a jailbroken device. tremoloqui The previous answer is correct, but if the effect you are looking for is to redirect HTTP traffic for a domain to another IP there is a way. Since it technically is not answering your question, I have asked and answered the question here: How can I

How to edit/save a file through Ubuntu Terminal

心已入冬 提交于 2019-11-29 19:04:49
This is quite a simple question: I just need to open a file (this filename is galfit.feedme). I can view the file with view galfit.feedme when I'm in the directory, but I do not know how to edit this file and then save the edit. How do you do that? Nick Anthony Paruta Normal text editors are nano , or vi . For example: root@user:# nano galfit.feedme or root@user:# vi galfit.feedme Abhishek Gupta For editing use vi galfit.feedme //if user has file editing permissions or sudo vi galfit.feedme //if user doesn't have file editing permissions For inserting Press i //Do required editing For exiting

Batch - edit specified line in text file

无人久伴 提交于 2019-11-29 16:45:27
For example, line number 2 reads: "0" (without quotes). I want to change that 0 to a 1, without changing anything else in the text file. I know what line the values will be on, so all i need to know is how to change that value to another value that I specify. I also will have to to the same with strings, not just numbers. Example: From: 4.7 0 check 0 1 0 0 To: 4.7 1 check 0 1 0 0 Thanks! try this: @ECHO OFF &SETLOCAL SET "file=file" SET /a Line#ToSearch=2 SET "Replacement=0" (FOR /f "tokens=1*delims=:" %%a IN ('findstr /n "^" "%file%"') DO ( SET "Line=%%b" IF %%a equ %Line#ToSearch% SET "Line=

Edit pdf page using pdfbox

半世苍凉 提交于 2019-11-29 14:18:18
问题 How can i edit a pdf page with java and pdfbox by writing in a specific position that i know already in pixels ? I tried this but it overwrites : PDDocument document = null; try { document = PDDocument.load(new File("/x/x/x/mypdf.pdf")); PDPage page = (PDPage) document.getDocumentCatalog().getAllPages().get(0); PDFont font = PDType1Font.HELVETICA_BOLD; PDPageContentStream contentStream = new PDPageContentStream(document, page); page.getContents().getStream(); contentStream.beginText();

honeycomb sync adapter features for editing contacts

偶尔善良 提交于 2019-11-29 12:48:25
I'm developing a sync adapter. I found this: http://groups.google.com/group/android-developers/msg/85f9304dfcc4e284 In that forum a google employee states: In releases of Android from Eclair through Gingerbread integrated editing of 3rd party contacts is poorly supported. The trick is to insert a data row, "Edit in MyApp", which would take the user to your app and your app would then provide an editor activity. Also, there is no provision in the Contacts UI for creating new contacts in 3rd party accounts. We have fixed those issues in Honeycomb. Now you can specify two activities in your

How to edit 300 GB text file (genomics data)?

不打扰是莪最后的温柔 提交于 2019-11-29 07:26:13
I have a 300 GB text file that contains genomics data with over 250k records. There are some records with bad data and our genomics program 'Popoolution' allows us to comment out the "bad" records with an asterisk. Our problem is that we cannot find a text editor that will load the data so that we can comment out the bad records. Any suggestions? We have both Windows and Linux boxes. UPDATE: More information The program Popoolution ( https://code.google.com/p/popoolation/ ) crashes when it reaches a "bad" record giving us the line number that we can then comment out. Specifically, we get a

How do you add an edit button to each row in a report in Oracle APEX?

让人想犯罪 __ 提交于 2019-11-29 04:06:41
I'm using Oracle APEX and I have a report region in a page that displays columns from a SQL query. I want to add edit buttons to the first column of this report so that the user can click on it and edit/review one of the results. How do I add this edit button? Thanks. Tony Andrews Add a column to the SELECT statement of the report like this: SELECT '' edit_link, -- This is the new column ... Go to the Report Attributes tab. Move the new column EDIT_LINK to the top of the list of columns (if you want it to be first). Click on the pencil and paper icon to the left of the EDIT_LINK alias to open