We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c4879e commit a999129Copy full SHA for a999129
1 file changed
bigtools/src/utils/cli/bedtobigbed.rs
@@ -109,6 +109,9 @@ pub fn bedtobigbed(args: BedToBigBedArgs) -> anyhow::Result<()> {
109
110
let allow_out_of_order_chroms = !matches!(outb.options.input_sort_type, InputSortType::ALL);
111
if bedpath == "-" || bedpath == "stdin" {
112
+ if let Some(file) = args.autosql.as_ref() {
113
+ outb.autosql = Some(std::fs::read_to_string(file)?);
114
+ }
115
let stdin = std::io::stdin().lock();
116
let data = BedParserStreamingIterator::from_bed_file(stdin, allow_out_of_order_chroms);
117
outb.write(data, runtime)
0 commit comments